package net.police.sys.web.controller.admin;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import javax.servlet.http.HttpServletRequest;
import kevin.framework.basic.controller.ResetfulBaseController;
import kevin.framework.basic.service.IBaseService;
import net.police.sys.web.entity.Attachment;
import net.police.sys.web.service.IAttachmentService;

/**
*Generate by Kevin's CodeBuilder
**/
@Controller 
@RequestMapping(value="/attachment")
public class AttachmentController extends ResetfulBaseController<Attachment, String> {

		IAttachmentService  attachmentService; 

		@Resource(name="attachmentService") 
		@Override 
		public void setService(IBaseService<Attachment, String> service) {
				this.service = service;
				attachmentService = (IAttachmentService)service;
		}
}
